import request from "../../request";
/**
 *  获取分类商品导航
 * @returns
 */
function categoryNav(data) {
  return request({
    url: "category/categoryNav",
    data,
  });
}

/**
 * 获取商品列表
 * @param {*} data
 * @returns
 */
function goodsList(data) {
  return request({
    url: "goods/goodsList",
    data,
  });
}

export { categoryNav, goodsList };
